package com.youlin.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.lang.Nullable;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class PhotoReqDto {


    @Nullable
    @ApiModelProperty(value = "照片ID", position = 1)
    private Integer id;

    // 逝者ID
    @ApiModelProperty(value = "逝者ID", required = true, position = 2)
    private Integer dmId;

    // 照片说明
    @ApiModelProperty(value = "照片说明", required = true, position = 3)
    private String remark;

    // 照片url
    @ApiModelProperty(value = "照片url", required = true, position = 4)
    private String photoUrl;

    // 图片宽度*图片高度
    @ApiModelProperty(value = "图片宽度*图片高度：500*800", required = true, position = 5)
    private String wh;

    // 排序序号
    @ApiModelProperty(value = "排序序号", required = true, position = 6)
    private Integer no;

    // 是否设置为家庭照
    @ApiModelProperty(value = "是否设置为家庭照", required = true, position = 7)
    private Boolean isFamily;

}
